Change pre-hook to a post-hook to prevent issues with drawing.
Separate out pre and post hook actions.
Add to changelog.
Update version.
Merge branch 'release/0.17.4' into develop