Screenshot issue with verifyElement* on returning false

When WebUI.verifyElementvisible/present(TestObject, FailureHandling.OPTIONAL) returns false, it takes screenshot automatically. Is this normal behavior?

In most of the scenario, we want to take a screenshot only when the steps got failed. As FailureHandling.OPTIONAL is used to continue the script execution, it does not make sense to take a screenshot automatically.For example, if i m using WebUI.verifyElementvisible/present(TestObject, FailureHandling.OPTIONAL) 50 times in test case and it returns false 30 times, it will take screenshot 30 times which leads to unnecessary screenshots.