Added checks for broken gate frame blocks.