Use isFloating instead