Base doesn't always cloak with shipmaster

My base doesn’t always get cloaked sometimes it works and you can see how it’s bluish but sometimes it does not work yes I am building the cloaking turret. Shipmaster thanks