Fixed the vertical door problem