Revert "Change resolution calculation to always be the closest resolution."

This reverts commit bc7ac345678ec146fb5c832dd2bee3a1b4baf32a.
apparent fix for 1.0.3