fix random mode fill
fix tile width changed