Cache the width and height of the element so classes can hide it without it glitching