Fix double to float in conversion angles