fix note controls in safari (does not support css calc without prefix)