Are different kinds of monsters allowed to be on the same tile? Although this was a special case, since it occured in the place where the monsters are trapped behind teleporters (just before the place where you get the boots of speed). A nearby scorpion must have found its way to the teleport place, and accidentally teleported to a same tile with a beholder. Too bad I don't have a screenshot!

How would this be handled in DM?