added referenceResolution to canvas; fixed bug in Vector4 parsing