This was a bug. The z component was indeed wrong. This will be fixed in the next update.

- Wow, 3 bugs in one day, and even real bugs, not just newbie problems! I think this is a record. smile