Bitmap collision detection error fixed