Fix: Disable the "Tearing Test" menu entry when it isn't supported.

This commit fixes ticket #2844.