Yeah that fixed it, but now the dock has a dark rectangular background and no animations anymore...
Oh and also I can't show all open windows by moving my mouse to the left upper corner now
UPDATE: Logged out and back in and now everything works fine after reapplying the gtk theme! Thanks a lot for the help!