Added check to not render Shadowmaps if lights or shadows disabled