Fixed setting background-size css property on image change.