added dimensions to ps canvas element