Fix bogus asserts and add new ones to shape rendering

Turns out floats are float32, not float64 ...