Should now be workibng correctly with winpos and fullscreen mode