Canvas outside DOM and fix server