Cheap fix for the lineorientation filter