Vastly improved collisions

Fixed a texture glitch behind the doors. Fixed #16.