Use setPosition() instead of setX() and setY() in shoot method