direction check fix + room dimension fix-hack