fix for metacity on non maximixed windows