Fixing the floating button bug.