[Editor] Fixed path isues. [Engine] Fixed path issues, added mousePrevious functions.