Fix Console memory leak, mouse input