[DF-2503] Fix tilemask reset before reload