Fixed border collision detection