Added handling for when tests are run with no UI access.
Cleanup: DrawMouseDoubleClickIcon