Fix moving images and textBoxes from modelOptions to viewOptions

Previous version was causing problems in Empty Model (when viewOptions
are undefined).