Minor bugfix for freezing editor due to out of bounds frame index
Merge pull request #479 from jayant1992/proposed-editor-bugfix

Minor bugfix for freezing editor due to out of bounds frame index