Fix calculating fullscreen resolution error metric. Closes #399.