Added fix for filter padding.