Make attribute block update when switching sprites

When changing the object on the ([x position v] of [Sprite v] block, check if the object has the attribute or variable. If it doesn't, switch to the default attribute. Fixes #70.