So what if the referee signals for the kick to be taken then the keeper turns around because technically he is infringing the LOTG by not being in the right position so it still seems to me to be a goal?
If he is not facing the ball when it is kicked, he is infringing the law and the kick cannot be taken until he is in the correct position.