Stop setting src to the rebased src in AbstractImage

Closes #1405

Added fix for pushing to the dom.