Fixed image filter along with the change of API