Fix major bug in getTilt().