added world.drawInCanvas for debugging purposes