Code cleanup, block mouse when setting new resolution