add graphics patch from AlexB's graphics patcher