Fixed an issue which prevented graphics context from being created on 64-bit devices.