Fix resolution and SW/HW modes changing