minor fix of floating window