diff --git a/SDL/Compositor.hs b/SDL/Compositor.hs
--- a/SDL/Compositor.hs
+++ b/SDL/Compositor.hs
@@ -268,7 +268,6 @@
   rendererDrawColor rend $= V4 0 0 0 0
   rendererDrawColor rend $= fromIntegral <$> colors
   drawRect rend (Just (SDL.Rectangle 0 (fromIntegral <$> dims)))
-  present rend
   rendererRenderTarget rend $= oldTarget
   renderNode env (Sized dims tex)
   destroyTexture tex
@@ -296,14 +295,13 @@
   -- get old values
   oldTarget <- get $ rendererRenderTarget rend :: IO (Maybe tex)
   -- set new values
-  rendererDrawColor rend $= fromIntegral <$> colors
   tex <- createTexture rend SDL.RGBA8888 SDL.TextureAccessTarget (fromIntegral <$> dims)
   rendererRenderTarget rend $= Just tex
-  clear rend
+  rendererDrawColor rend $= V4 0 0 0 0
+  rendererDrawColor rend $= fromIntegral <$> colors
+  fillRect rend (Just (SDL.Rectangle 0 (fromIntegral <$> dims)))
   rendererRenderTarget rend $= oldTarget
-  -- render created texture
   renderNode env (Sized dims tex)
-  -- retrieve old values
   destroyTexture tex
 
 getCurrentBlendMode :: RendState r t -> SDL.BlendMode
diff --git a/SDL/Data/Texture.hs b/SDL/Data/Texture.hs
--- a/SDL/Data/Texture.hs
+++ b/SDL/Data/Texture.hs
@@ -101,6 +101,7 @@
   clear :: rend -> IO ()
   present :: rend -> IO ()
   drawRect :: rend -> Maybe (SDL.Rectangle Int) -> IO ()
+  fillRect :: rend -> Maybe (SDL.Rectangle Int) -> IO ()
   drawLine :: rend -> Point V2 Int -> Point V2 Int -> IO ()
 
 instance Renderer SDL.Renderer where
@@ -108,6 +109,7 @@
   clear = SDL.clear
   present = SDL.present
   drawRect r = SDL.drawRect r . fmap (fmap fromIntegral)
+  fillRect r = SDL.fillRect r . fmap (fmap fromIntegral)
   drawLine r a b = SDL.drawLine r (fromIntegral <$> a) (fromIntegral <$> b)
 
 -- | Wrapper around the raw Texture type from SDL package.
diff --git a/sdl2-compositor.cabal b/sdl2-compositor.cabal
--- a/sdl2-compositor.cabal
+++ b/sdl2-compositor.cabal
@@ -2,7 +2,7 @@
 -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                sdl2-compositor
-version:             1.2.0.6
+version:             1.2.0.7
 synopsis:            image compositing with sdl2 - declarative style
 
 description: This package provides tools for simple image composition
@@ -51,8 +51,7 @@
 
 executable sdl2-comp-example
   if flag(BuildExamples)
-    build-depends: base, sdl2, stm, lrucache, sdl2-ttf, linear, text,
-                   transformers, lens, StateVar
+    build-depends: base, sdl2, linear, lens, StateVar, text
   else
     buildable: False
   main-is: example.hs
@@ -60,8 +59,7 @@
 
 executable sdl2-comp-res-independent
   if flag(BuildExamples)
-    build-depends: base, sdl2, stm, lrucache, sdl2-ttf, linear, text,
-                   transformers, lens, StateVar
+    build-depends: base, sdl2, linear, lens, StateVar, text
   else
     buildable: False
   main-is: resolution-independent.hs
