Fix to COUNTER_POS - thanks to Qt 5 for finding this before release