Fix high cpu usage with win32 builds when using shapes in composer (fix #9933, #9957, #9734)