Fixed speed with shock, and fixed a referencing issue with player positioning