You're right. I forgot to take into account that Y is pointing downwards.