Fixes random tile set bug