started to fix moving window in between retina and non retina displays