according to your description I assume that the different provided examples are working fine - only the coffeemachine example (which is one of the examples installed with Embedded Wizard Studio) does not work correctly. The ScreenSize is already configured correctly.
Is there any message in the console window, reporting an error?
In order to ensure that the touch is working, you can add an EwPrint() message into the main loop when touch events are detected by calling EwBspTouchGetEvents() (see ewmain.c). Is the touch working?