This correctly uses the world height less one block for placement of a door

Required for placing doors inside a littleblocks area.