77725a5ce4
This fixes an issue where the player could get stuck to an edge when being aligned to the pixel grid due to the rounded coordinate being outside an invalid tile but the truncated position being inside. Also we should be doing it anyway.