Don't do other calculations if image isn't rendered