Added defensive checks to prevent errors originating from opening pop ups before proper initiation.
Fixed resolution compatibility for Canvas view
Fixed issue where object's rotation is very off its center due to application scaling