Why could this be happening?

Solved: Viewport transperancy was set to 0.