change view to engine
invalidated event fired from the item when something changes
added invalidation in rectangle class
renders only on object invalidation
external need to render the frame on canvas resize