Fix floating menu not closing upon back button press