moved drawing graphic from frame reset function (no functional change)