Fixed width not being properly type casted

This was causing positioning calculations to be incorrect in certain use cases