Bugfix, added friction