Yep, so easy to fix. They just don't want too.And it's something that's so easy to fix.
Allow the officials to review it after the game with video footage. If someone is found actually diving badly, give them a severe penalty (1 month bans exist in plenty of other sports for a red card etc). The problem will instantly solve itself.
At the moment there is no consequence to diving, so you may as well try it. Add a severe consequence - people will stop doing it. Same with yelling in the ref's face.
I get it's part of the sport. But it's almost a fundamental component of it now. I'm prefer to get free kicks penalties and advantages.