minor speed improvement in plugin rendering

SECURITY LEAK WAS FOUND THOUGH!
HAS TO BE FIXED!