fix for wms scrambled in case of high resol displays