Fix positioning issues once and for all

Also removing console.log calls
Remove console.log