j3dcore: unconditionally resize the offscreen layer if required when setting the Viewport

This ensures that the offscreen layer is appropriately sized even on the initial display,
some users reported incorrect canvas size until something caused the layout to change.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>