Initialize displace from dimensions hash

Values were being set onto `displace_left` and `displace_top`, but they weren't
getting picked up from the initial hash. This caused the layout on the game
of life sample to be weird.

Partial fix for one of the remaining issues on #538.