Send in the right container block size for relative positioning.

This fixes #1757.