Get Viewport pixels without freeze in Non-Editor build

(topic deleted by author)