Only send SetLayerRect messages for compositor-backed frames

Only send SetLayerRect when we know that a frame has a compositor
layer. If it doesn't, we wait until we send the new layer to the
compositor.