Generate ticks in loop and improve alignment in Analog Clock theme