For anyone else not aware of corner correction, I wish I'd found this post earlier!
https://shaggydev.com/2022/06/29/platformer-tips/