Reduce calls to 'draw_frame' to one