Remove reference to getLayout() from ControllerDispatcher.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>