Fix problems creating graphics context.

bug 19762899

Change-Id: Iacf34274b0bde4237ecb61bb2429b24f993b7e8d
1 file changed