Fixed bug with positioning actor with physics. Refactor.