Check if a window uses the shape extension every time it is mapped.