Fixed window and context creation.