Fix style map processing.