fix crash in butterflies.js

The butterflies.js script is creating "position" properties with some NAN values. The entity code wasn't handling this case correctly.

This change fixes that by ignoring any vec3 or quat properties that have NAN values.

This PR does not yet fix the problem with butterflies.js that's causing the NANs... I'll work on that next.