The resolution is still too small. You should try at least doubling "Final", and setting "Viewport Display" to "Final" too.
Any obstacle which has a width smaller or comparable with the voxel size is likely to be ignored by the simulation. In your case the voxel size (domain size, divided by resolution) is too big!
If the problem persists after increasing the resolution, check that the normals on your obstacle object are facing outwards (in Edit Mode: select all with A then CtrlN, or ShiftN in Blender 2.8+)