Fixed colours issue in Register on MacOS X
merged