Fixed bug with anchor transitions