Bugfix for editor not working at resolutions below 640x400