fixes to floating event listeners