An element that has 'display: none' has a height of zero, and the logic for the handle assumed that this was never the case. This could cause the handle to end up at the wrong coordinates.
An element that has 'display: none' has a height of zero, and the logic for the handle assumed that this was never the case. This could cause the handle to end up at the wrong coordinates.