shadow: fix surface frame markers