Fixed a bug with the Layout engine.