Fixed another layout transition bug.

And FINALLY another commit! How lang has it been now? Jeebus!