Fix mouse listener for projectile shooting