Fix caught mouse item + setting theme titlebar