Positioning event handler removal fix