Change the default format of screenshots depending on what viewport type is active. Fixes #165.