Fix Callbacks when inputs state is changed

Fix Callbacks when inputs state is changed and added images when map is
not available