Fix xmonad java window bug