should fix compilation when using Bitmap assignment