Prevent rating init if element is hidden