Fix for anchor behaviour