Unfortunately the light cannot stay in the original location, as it makes contact with the rack when the handlebars are turned.
The light mount is designed to be relocated with the light. You detach it from its original location and then attach it to the front of the rack. You could ditch it...