Fix floating text issue