fixed floating point bug when setting euler angle