Trouble with collision

I am not sure how to deal with the odd collision. It is featured in my devlogs I believe but I test for a tile in the position I will move in and don’t move if there is one, but I stick to walls. If someone somehow knows the issue I would love to hear. Thanks

To follow me on my journey click here.