So I lost AP when I bought an AD item.. Whats going on

I was playing Kaisa, and I had 164 AP with 5 items and a QSS. After I buy Mercurial Scimitar, I end up with 155 AP. I undo and I return to 164 AP. What the heck?!
Report as:
Offensive Spam Harassment Incorrect Board