fixed behavior of floating labels