Fix bug that allows the use of a previously opened door from infinite range.