fixed collision bug with rects smaller than textures