Frame fixes

a few fixes while playing with atlas on (lots of) bricks.