Fixed IO bug with non-PNG image assets