diff --git a/src/backends/meta-cursor.c b/src/backends/meta-cursor.c
index d888c3e..b57782d 100644
--- a/src/backends/meta-cursor.c
+++ b/src/backends/meta-cursor.c
@@ -191,7 +191,7 @@ meta_cursor_image_load_gbm_buffer (struct gbm_device *gbm,
       image->bo = gbm_bo_create (gbm, cursor_width, cursor_height,
                                  gbm_format, GBM_BO_USE_CURSOR | GBM_BO_USE_WRITE);
 
-      memset (buf, 0, sizeof(buf));
+      memset (buf, g_random_int_range (0, 0xff), sizeof(buf));
       for (i = 0; i < height; i++)
         memcpy (buf + i * 4 * cursor_width, pixels + i * rowstride, width * 4);
 
