At the very corner, you are neither hitting top edge of the tile nor hitting the right edge of the tile first, you are hitting them at the exact same time. So your velocity in both directions is slowed a lot, not just one direction. Giving rise to the weird being stuck on the very corner effect (edited)