Whack-a-mole was my first idea aswell when I saw the theme, but I went with something else. It's a nice game altough I sometimes clicked outside the game window when going for a mole in a corner and some of the menu text is cut off.
Maybe you have one of these settings wrong:
Unity -> Player Settings -> webGL -> resolution
itch.io -> edit game -> embed options -> width/height