Correct some bugs
Testing new features on melonjs