Improve the javadoc of Component#onBeforeRender

(cherry picked from commit dc5fe23447f2e6583fff43c3320f6c3ffbcf499b)