Prevent player from moving while dying or winning