Glitch: shape bounding rect is incorrect