Added FloatRect class for bounding box collision