Fixes bug with resize filter