Move tooltip positioning class to be added before positioning