viewer export: limit size of what can be exported to the screen dimensions