fixed issue which prevented changing device resolution immediately after reset