[DF-3792] Fix tilemask drawing