Bug fix, the position of the item being pressed was being passed instead of the position of the door.