fixed game breaking at any other region dimension than 16*16