fix resolution issues (set Mode.FIT_TO_EXACT in resize method)