The chain guard needs to cover the chain... if the chain is covered by the cover, then it is guarded til it exits the cover, so then you need to guard it from there to the rear edge of the rear sprocket.
The guard should be close enough to retain the chain, but far away enough to no get smacked under normal operation... Mine are about an inch above the top of the chain