         fullscreen = @element.find("a[href=\"#fullscreen\"]")
         exit_fullscreen = @element.find("a[href=\"#exit_fullscreen\"]")
         fullscreen.on 'click', () =>
+            @user_is_active()
             @fullscreen()
             exit_fullscreen.show()
             fullscreen.hide()
             return false
         exit_fullscreen.hide().on 'click', () =>
+            @user_is_active()
             @exit_fullscreen()
             exit_fullscreen.hide()
             fullscreen.show()

            @mobile_target.css('width', ter.css('width'))
            @mobile_target.css('height', ter.css('height'))
            @_click = (e) =>
                t = $(e.target)
                if t[0]==@mobile_target[0] or t.hasParent(@element).length > 0
                    @focus()


        e = @element.find(".webapp-console-terminal")
        e.mousedown () =>
            @user_is_active()
            @pause_rendering(false)

        e.mouseup () =>
            @user_is_active()
            if not getSelection().toString()
                @unpause_rendering()
                return
