Fix some image errors: remove border, set width and height if they not defined.
Fix some image errors: remove border, set width and height if they not defined.

pureqml/qmlcore,pureqml/qmlcore,pureqml/qmlcore