Fix popin positioning