Significantly improved performance and fixed
Changed Sprite x and y to ints from floats.