add bg clipping option; closes #505