Fix for issue 8260. Popups now overlap correctly.