Reverted changes to imageDisplay, having not made any progress in fixing the problem.