Fix for larger resolutions