Added mouse controls and fixed rendering with new Kha versions.