Reimplements bubble floating using OpenLayers events instead of events attached directly to the window, which stop working in OpenLayers 2.13.