The Genie can be destroyed by hitting it when it is visible. The items behind it can be hit when the genie is inside its lamp.