X click won’t work if mouse is already over button

What’s the fix for this?

xmove away before if its blocking the image too much.