do not resume when pause layer is showing