Extract implementation into NonAcceleratedOverlay. Skip drawing shadow layer in NonAcceleratedOverlay.