fixing floating window