Fix a crash in the warp layer when the bounding_rect gets very small.