Fixed bug where closing doors could push player on Y axis