Introduce a direct way to obtain a bitmap from a PXImagePaint.

Oh nevermind, see the variable is being re-used.