Fix issue where bullets would get stuck at the right side of the map