Fixes `elements_controller#load_element` method.