Prevent b&w rectangle mask overflow