Not a bug; those are the rules of chess. Â Your opponent can't win because he's out of time, but guess what? Â You can't win either because you lack the material to give mate. Â So it's a draw. Â There have been many threads on this:
http://www.chess.com/forum/search?keyword=insufficient+material
.