bug fix

-fixed crash when adding blocks to end of level in editor