made adjustments to movie render function to make drag work