Fixed resizing bottom right corner edge case