Control of joystick

Hi, recently I’ve bought the Picade 10inch kit and really enjoy to build the Picade, it was easy to download the image and setup retropie. I have downloaded some Roms and try to play the games with the Mame2003 emulator. The quality of the screen is very good but the game experience is not so good. I found it very difficult to play a game like Pacman, Ms. Pacman, Amidar or DigDug with the joystick. I have the idea that the joystick don’t react immediately what I want, for example when I go up and suddenly I want to go left then I still go up or it goes down. It is very annoying and I am disappointed about the Picade. My question: is this a known problem and is a solution available for this.

The joystick works ok in a menu structure or at the start of a game. I use a Raspberry Pi 4 with 2GB of memory.