fix inspector transition in firefox

firefox not returning the computed style as a percentage
was breaking the transition