Force entities to be rendered at integer coordinates

Due to the limitation in canvas that it can only have whole pixels to draw on I inserted a bitwise Math.round (faster on older browsers than the normal Math.round). This removes white lines due to half pixels.