fixed floatbar state change offset