fixed a huge bug

caching current CSS style breaks relative unit calculations