Removed old trigger_error()
Fixed #2035 Invalid Fence Gate bounding box