Fixed unhandled exception error in head movement simulation reaction.