Fixing subst in mouse and renderer2