Fixes #1: add drawCurrentFrame method.