Move wp_register_style to the top, in case wp_styles does not exist yet