Fixed bug which caused the vendor window not to close if the player was dragging an item from them even if they were outside of the max_interact_range.