Add ability to run post-frame logic for both update() and draw().