Fixed bug when 'cancel' is pressed on Change Resolution