I have a question: current values of app.mousePosition are scaled down to the viewport in the preview window? Will them get scaled also when modifying the viewport property?
Good point, I don't think we have thought about that. The mouseposition range of -1 to 1 should cover the whole viewport area. I will test and fix this.