Testing Pixelmask and Imagemask. Working in RenderMode.BUFFER.