fix for click/tap event being blocked

Fix for #830