Fix for issue #1122.

This pull request fixes a visual bug described in issue #1122.