fixed measurement
protect canvas against evil css