Revisiting the variable star population in NGC 6229 and the structure of the horizontal branch