Temp fix for resolution larger than 2000.