Fix for object collisions