Add some exception handling/logging at the spot to capture size of element images that cause an exception in the on paint method in the editor. This is a stop gap to help users recover when this happens until I can make a proper fix next year.