NSWindow-NoodleEffects, This works prefect on normal NSWindow, But cannot get image for NSWindow with NSBorderlessWindowMask(Border less window.)

NSCopyBits([self gState], NSMakeRect(0.0, 0.0, frame.size.width, frame.size.height), NSZeroPoint);

This only get a white background image.

Any idea?