changed sf::Vector2u to sf::Vector2f so you can switch the sign of the variable