error screen parent assignment could cause infinite recursion in draw