It's working as intended. Whether or not you enter combat immediately depends on the lighting. When you are sneaking, various areas where you move your cursor have circles above it filled to varying amounts.