Thank you for your time and feedback!
It's true that there were some game breaking issues regarding the ghost AI and the player-sanity for death as well as the door collisions and the win screen.
If you do find a couple of minutes we managed to update some of those bugs and also have uploaded a second export for windows which has the original lighting system with HDR 2D (which unfortunately is not supported on web export and ends up looking way more brighter than intended)