Fixed tight_layout pickle support.

Closes #1720