Changed SDL rect collision handling to sfml rect collision handling.