Fixed corner collision problem while sliding