fixed border around texture, and added setSpeed & getSpeed