Avoiding error when emberPrerender event fires unexpectedly