Did I mess up putting a Lateen sail on the mizzenmast of my Caravel?

Complete sailing newbie here. I didn't even know how sails worked until I started playing this. I played enough to upgrade my caravel with a mizzenmast and a sail, and decide to try (I think) a 10yd Lateen sail.

Now under certain conditions (typically sideways wind) when I deploy full sails it causes my ship to pull into the direction of the wind. I have to turn the wheel completely the opposite direction in order to go straight, but sometimes even thats not enough and my ship starts turning. I try to angle the Lateen the same angle as the Staysail

I guess I should have gotten the gaff sail or another square sail instead? Are lateen sails not meant for mizzenmasts?