Tiles now update their layers when moving position. Implemented collision