Fix handle layout logic

Explicitly round the handle origins rather than using CGRectIntegral, which can produce the undesired result of changing the frame size.