To solve this problem just make a rightclick on the layer and choose Rasterize Layer.

 

Now you can edit the image as known.