Please specify surfaceId explicitly in the constructor.
constructor(surfaceId, viewTag, width, height)