slight bug fix

custom resolutions should be fixed.