Set frame range also in renderCurrentFrame