Created p5.js after fixing mouseX/Y