Fixed Graphic frame index issue