updated video drawing functions