Applying text wipes out images.

Fixes #164