Fix bug where for assets that are not images where zero width or zero height was present